package com.hrd.common.util;

/**
 * @author 刘江宁
 * @create 2022/1/13 9:46
 */
public class ConstantUtil {
    //收款单自定义字段
    public final static String CUSTOMER_FIELD = "custom_entity_field__4__1xooboid2d72";

    //销售出库单 终端以旧换新
    public final static String CUSTOMER_FIELD2 = "custom_entity_field__4__1wn70h9z0v3xie";


    //原单类型id
    public final static String BILL_TYPE_ID = "sal_bill_outbound";

    //收款单 billsource
    public final static String COLLECTION_BILL_SOURCE = "PC";

    //销售出库单 billsource
    public final static String OUTBOUND_BILL_SOURCE = "ISV";

    //需要同步的 订单 状态
    public final static Integer NEED_SYNC = 0;

    //不需要同步的 订单 状态
    public final static Integer NO_NEED_SYNC = 1;


    //客户信息 类别id tMLArchives表
    public final static Integer CUSTOMER_TYPE_ID_tMLArchives = 2145;
    //收款单 类别id tMLPlanBill表
    public final static Integer COLLECTION_TYPE_ID_tMLPlanBill = 1604;
    //销售出库单 类别id tMLArchives表
    public final static Integer OUTBOUND_TYPE_ID_tMLArchives = 1981;
    //采购入库单 类别id   tMLArchives表
    public final static Integer ENTRY_TYPE_ID_tMLArchives = 2149;


    //同步类型0客户同步，1收款单同步，2销售出库单同步，2采购入库单同步

    public final static String SYNC_TYPE_0 = "0";
    public final static String SYNC_TYPE_1 = "1";
    public final static String SYNC_TYPE_2 = "2";
    public final static String SYNC_TYPE_3 = "3";

}
